Skip to content

info: fix assert/dl/getrusage return-value docs, E_ALL value, and versions.xml duplicates#5650

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/info-fixes
Open

info: fix assert/dl/getrusage return-value docs, E_ALL value, and versions.xml duplicates#5650
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/info-fixes

Conversation

@lacatoire

@lacatoire lacatoire commented Jul 3, 2026

Copy link
Copy Markdown
Member
  • assert: drop assert.exception=1, assert.bail=1 and "custom exception" from the always returns true list, since those cases throw or bail instead of returning true.
  • dl: with enable_dl off (or DL unsupported) an E_WARNING is emitted and false is returned, not an E_ERROR + stop.
  • getrusage: mode 1 (RUSAGE_CHILDREN) collects child-process usage, not threads.
  • get_defined_constants: E_ALL is 30719 (was 2047, an outdated value).
  • versions.xml: remove duplicate get_required_files and get_defined_functions (belongs to funchand, no page in reference/info/).

Touched files were also brought up to the DocBook style enforced by CI (inline-only <para> to <simpara>, exception classes to <exceptionname>).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant